package com.asset.dispoal.defaultCompanyMenu.service;


import com.asset.dispoal.defaultCompanyMenu.api.GbMenuCompanyService;
import com.asset.dispoal.defaultCompanyMenu.dto.GbMenuCompanyRequest;
import com.asset.dispoal.defaultCompanyMenu.service.commom.MenuCompanyInsertCommand;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 服务实现类
 *
 * @author: mhuang
 * @date: 2022-03-14 13:50:00
 */
@Service
public class GbDefaultMenuCompanyServiceImpl implements GbMenuCompanyService {


    @Autowired
    MenuCompanyInsertCommand menuCompanyInsertCommand;


    @Override
    public void modifyMenuCompany(List<GbMenuCompanyRequest> requestList) {
        menuCompanyInsertCommand.execute(requestList);
    }
}